home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: dish.news.pipex.net!pipex!datcon!dab
- From: dab@datcon.co.uk (David Barlow)
- Subject: Re: Help Wanted: Win95 Visual C++: Getting a Process ID
- Message-ID: <1996Feb28.173038.10891@datcon.co.uk>
- Organization: Data Connection Limited
- X-Newsreader: TIN [version 1.2 PL2]
- References: <31320d3e.6676641@news.primenet.com> <313356B0.6258@afrodite.kih.no> <3133d466.340349558@news.primenet.com>
- Date: Wed, 28 Feb 1996 17:30:38 GMT
-
- Gary Edstrom (gbe@primenet.com) wrote:
- : Paul Kenneth Egell-johnsen <paulken4@afrodite.kih.no> wrote:
- : On Tue, 27 Feb 1996 20:08:32 +0100, you wrote:
-
- : >Gary Edstrom wrote:
- : >
- : >> What I want to do is as follows: We have a program that is currently
- : >> made up of 4 different processes. One of the processes is responsible
- : >> for starting all of the others. Before starting any of the child
- : >> processes, however, I want to check if they are already running on the
- : >> system and if so, to terminate them before performing a new startup.
- : >
- : >Why would you do that? The user would get pretty pissed if you
- : >close down a process which you haven't created (in this
- : >program).
- : >
- : This is not your typical program. It is the ONLY program running on a
- : dedicated hospital based patient EKG monitoring system. Having a
- : watchdog program to keep an eye on all of the other process that it
- : has started is a legal requirement for us. If the watchdog detects
- : that one of its child processes has crashed or locked up, it needs to
- : clear that process out of memory and restart it. It CANNOT wait for
- : an operator OK. It MUST be automatic. If it is unable to restart the
- [snip]
-
- Is this a joke? A critical life program running under Win95???
-
- David Barlow
- dab@datcon.co.uk.
-